//
//  ChatModel.h
//  QQ界面
//
//  Created by apple on 16/11/18.
//  Copyright © 2016年 LWB. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef enum{
    MessageTypeMe = 0,
    MessageTypeOther =1
}MessageType;

@interface ChatModel : NSObject
@property (nonatomic,copy)NSString *text;
@property (nonatomic,copy)NSString *time;
@property (nonatomic,assign)MessageType type;
-(instancetype)initWithDict:(NSDictionary *)dict;
+(instancetype)ChatModelWithDict:(NSDictionary *)dict;
@end
